Method for processing query effectively in radio data broadcast environment

ABSTRACT

A method for processing query effectively in a radio data broadcast environment is able to minimize a query response time by pre-declaring data items which are wanted to be accessed by a mobile client before the query is operated, and by obtaining data of the pre-declared data items in advance from a radio space regardless of data transmitting order.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to a mobile communication terminal, and particularly, to a method for processing query effectively in a radio data broadcast environment.

[0003] 2. Description of the Background Art

[0004] Recently, researches for mechanisms of effectively transmitting information to mobile clients in a radio data broadcast environment are proceeded actively. The mechanism is used when a satellite or a base station transmits information to mobile clients,

[0005] The transmission based on the broadcast can be applied to various applications including transmitting information to a plurality of clients. As examples of broadcast-based applications, there are stock exchange, news, weather information, e-mail, e-banking service, traffic information system, etc..

[0006] In case that a certain data item is required among those applications, the client can obtain required data in a standby mode during a server transmits the data. Therefore, broadcasting the data has an advantage of using bandwidth effectively since requests of a plurality of clients waiting same data can be satisfied at the same time.

[0007] The mechanisms used in the radio broadcast environment are different in details, however, these are based on a common principle of accessing to the data sequentially “one-at-a time”. That is, in the broadcast-based transmission, the mobile client adopts an access mode, that is, waits another data after obtaining data from the server.

[0008] Therefore, in case of the conventional broadcast-based transmission, response time for query of the client is increased greatly if the number of data items which will be accessed or if the data are often updated in the server.

[0009] For example, in case that the base station server broadcasts a plurality of data wirelessly, the client should receive the data in transmission order for to reproducing the data. However, even if the base station server transmits the data in a certain order, the data receiving order can be changed according to channel status, and therefore, the data transmitted later may be delivered first to the client. In above case, the client does not receive the delivered data and waits the desired data according to the transmission order. Thereby, the query response time is increased.

SUMMARY OF THE INVENTION

[0010] Therefore, an object of the present invention is to provide a method for processing query effectively in a radio data broadcast environment which is able to minimize query response time by applying pre-declaration method.

[0011] To achieve the object of the present invention, as embodied and broadly described herein, there is provided a method for processing query effectively in a radio data broadcast environment comprising: a step of receiving a query from a mobile client, a step of pre-declaring all data items to which the query can access; a step of receiving data of the pre-declared data items; and a step of operating the query when all data are received.

[0012] To achieve the object of the present invention, there is provided a method for processing query effectively in a radio data broadcast environment comprising: a step of receiving a query from a mobile client; a step of pre-declaring all data items to which the query can access; a step of receiving data broadcasted in a base station; a step of checking whether or not the received data satisfy the pre-declared data items; and a step of providing data in order of requesting by the client by operating the query when the received data satisfy the pre-declared data items.

[0013] Preferably, the received data are received in order of data presenting on a radio space, not in order of accessing to the data by the user.

[0014] The foregoing and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention.

[0016] In the drawings:

[0017]FIG. 1A is a view showing a scheduling method by a nonuniform broadcast program in a radio data broadcast environment,

[0018]FIG. 1B is a view showing a scheduling method by a uniform broadcast program in a radio data broadcast environment;

[0019]FIG. 2 is a flow chart roughly showing a method for processing query effectively in a radio data broadcast environment according to the present invention; and

[0020]FIG. 3 is a flow chart showing detailed operations of the method for processing query effectively in the radio data broadcast environment according to the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0021] Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings.

[0022] Generally, a base station server executes a broadcast program to broadcast data items to a plurality of mobile clients during a period.

[0023]FIGS. 1A and 1B show two scheduling methods in case that the base station server broadcasts the data wirelessly.

[0024] As shown in FIG. 1A, the base station server runs a uniform broadcast program, and broadcasts all data items one by one during one broadcast period regardless of data access frequency.

[0025] Also, as shown in FIG. 1B, the base station server runs a nonuniform broadcast program to broadcast the data items differently according to the data access frequency. That is, the data (d1) having high access frequency is broadcasted many times during one period, and data (d4-d7) having relatively low access frequencies are broadcasted less. At that time, an order of the access frequencies is d1>d2,d3>d4-d7.

[0026] A case that a client performs a query such as “if (d3≦3) then read (d1) else read (d2)” in the middle of the broadcast period will be described as an example. At that time, it is assumed that the query is performed in FIG. 1A in order to identify affects to response time according to data accessing order.

[0027] In the scheduling method of FIG. 1A, d1 and d2 reach to a mobile terminal earlier than d3. However, since the data access by the client is made sequentially, the mobile terminal should wait until the d1 or d2 reaches thereto after reading the d3.

[0028] After that, when d1 or d2 is transmitted again, the mobile terminal receives the data in order of d3→d1 or d3→d2, and therefore, response time of the query (based on a unit time used for broadcasting one data) is 11.5 ms (d3→d1) or 12.5 ms (d3→d2).

[0029] Therefore, if all data items (for example, d1, d2 and d3) to which the query will probably access are pre-declared, the client can obtain all required data in advance, and accordingly, the response time also can be reduced.

[0030] According to the present invention, the data items which can be accessed by the query, that is, all data presented on the query (for example, d1, d2 and d3) are pre-declared before the query is operated, and after that, the data are stored in order of appearing on a radio space, and therefore, the data can be provided in order of requesting by the mobile client.

[0031] That is, as shown in FIG. 2, the present invention performs a pre-declaration process for finding data items which can be accessed by the query when the query is inputted from the client (S1). When the data items are found, a data acquisition process for receiving and storing data from a data channel is performed (S2), and a query operation process for operating the query is performed when the all data corresponding to the data items are received (S3).

[0032] After that, the method for processing the query effectively in the radio broadcasting environment according to the present invention will be described in more detail with reference to FIG. 3.

[0033] When the query is inputted from the client (S10), the mobile terminal pre-declares all data items (d1, d2 and d3) presented on the query using a compiler (S11).

[0034] When the data items are found by the pre-declaration, the mobile terminal receives the data from the data channel (S11), and stores the received data in a flash memory (S13). At that time, the mobile terminal receives the data not in an accessing order of a user to the data, but by a presented order of the data on the radio space.

[0035] The mobile terminal checks whether or not the received data satisfy the pre-declared data items (S14). As a result of checking, if the received data satisfy the pre-declared data items, that is, when the data of all data items (d1, d2 and d3) are received, the mobile terminal operates the query to provide the data in order requested by the client (S16).

[0036] Therefore, according to the present invention, the mobile terminal does not have to wait until desired data is received, and the query response time to the S16 process is only 6.5 ms.

[0037] As described above, according to the present invention, the query response time can be reduced greatly when comparing to that of the conventional art in case that the pre-declaration method is applied, and the advantage can be applied to the scheduling method on FIG. 1B. That is, in case that the pre-declaration method is applied to the scheduling method of FIG. 1B, the conventional response time is 7 ms or 8 ms, however, according to the present invention, the response time is reduced up to 5 ms as shown in FIG. 4.

[0038] That is to say, since many users receive the data service in the radio data broadcast, mismatch between the order of accessing to the data by the user and the order of broadcasting by the base station server is generated, and thereby, the query response time is increased greatly. Therefore, if the pre-declaration method suggested by the present invention is applied, the above problem can be solved originally.

[0039] In addition, the query processing method by the pre-declaration method can be applied most practically in an environment in which the flash memory included in the mobile terminal is used as a cache, however, it can be naturally applied to an environment in which the data server does not support the cache mechanism.

[0040] Also, according to the query processing method by the pre-declaration method, even if the data are updated frequently in the server, a consistency problem can be solved simply by broadcasting the data having consistency from respective broadcast periods. Therefore, the mobile terminal does not read the data on a discretionary time point, but reads the data on a starting point of the broadcast period to read all data in the period, and thereby, the data consistency can be ensured.

[0041] As described above, according to the present invention, the query response time can be minimized using the pre-declaration method in the radio data broadcast environment. Especially, according to the present invention, the data items which are wanted to be accessed by the client are pre-declared through the compiler before the query is operated, and thereby, the effective query processing can be made and the query response time can be minimized.

[0042] As the present invention may be embodied in several forms without departing from the spirit or essential characteristics thereof, it should also be understood that the above-described embodiments are not limited by any of the details of the foregoing description, unless otherwise specified, but rather should be construed broadly within its spirit and scope as defined in the appended claims, and therefore all changes and modifications that fall within the metes and bounds of the claims, or equivalence of such metes and bounds are therefore intended to be embraced by the appended claims. 

What is claimed is:
 1. A method for processing query effectively in a radio data broadcast environment comprising: a step of receiving a query from a mobile client; a step of pre-declaring all data items which can be accessed by the query; a step of receiving data of pre-declared data items; and a step of operating the query when the data receipt is completed.
 2. The method of claim 1, wherein the data are received in order of presenting in a radio space.
 3. The method of claim 1, wherein the data items are found using a compiler.
 4. The method of claim 1 further comprising a step of storing received data in an inner memory.
 5. The method of claim 1, wherein the step of operating the query provides data as the order of requesting by the client after reading the stored data.
 6. A method for processing query effectively in a radio data broadcast environment comprising; a step of receiving a query from a mobile client; a step of pre-declaring all data items which can be accessed by the query; a step of receiving data broadcasted by a base station; a step of checking whether or not the received data satisfy the predeclared data items; and a step of providing data as an order of requests of the client by operating the query when the received data satisfy the pre-declared data items.
 7. The method of claim 6, wherein the data are received in order of presenting in a radio space.
 8. The method of claim 6, wherein the data items are found using a compiler.
 9. The method of claim 6 further comprising a step of storing the received data in an inner memory.
 10. The method of claim 6, wherein the received data is data broadcasted by a uniform broadcast program or by a nonuniform broadcast program. 